package zjhr.com.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ShowIndexController {
	
	@RequestMapping("/index.action")
	public String showIndex(){
		return "/common/index.jsp";
	}
	
	@RequestMapping("/{common}/{menu}.action")
	public String showMenu(@PathVariable String common,@PathVariable String menu){
		return "/"+common+"/"+menu+".jsp";
	}
	

}
